module.exports = {
  lintOnSave: false, // 关闭 eslint
  outputDir: 'distQian',
  publicPath: '/',
  productionSourceMap: false,
  assetsDir: 'static',
  css: {
    extract: { ignoreOrder: true },
  },
  devServer: {
    hot: true,
    open: true,
    proxy: {
      '/gt': {
        target: 'http://106.37.100.66:18081', //后台
        changeOrigin: true,
      },
    },
    disableHostCheck: true,
    watchOptions: {
      poll: true, // 启用轮询模式
    },
  },
}
